package com.ylxin.smartplatform.event;


/**
 * @author 29048
 * @version V1.0
 * @Project bk2205
 * @Package com.ylxin.smartplatform.event
 * @Description: 设备状态事件
 * Create by 杨立新 @Date 2022/9/15 21:07
 */
public class DeviceStatusEvent {

    private String deviceId;

    private Status status;

    public DeviceStatusEvent(String deviceId, Status status){
        this.deviceId = deviceId;
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public static enum Status{
        ONLINE,OFFLINE;
    }
}
